package vip.liux.contracts.models.pay;

import jakarta.persistence.Entity;
import jakarta.persistence.Table;
import lombok.Getter;
import lombok.Setter;
import vip.liux.contracts.shared.enums.Status;
import vip.liux.domain.entities.auditing.AuditedEntity;

@Getter
@Setter
@Entity
@Table(name = "pay_app")
public class PayApp extends AuditedEntity<Long> {
    /**
     * 应用标识
     */
    private String appKey;
    /**
     * 应用名
     */
    private String name;
    /**
     * 状态
     *
     * @see Status
     */
    private Status status;
    /**
     * 备注
     */
    private String remark;
    /**
     * 支付结果的回调地址
     */
    private String orderNotifyUrl;
    /**
     * 退款结果的回调地址
     */
    private String refundNotifyUrl;

    /**
     * 转账结果的回调地址
     */
    private String transferNotifyUrl;
}
